package controll;

import java.io.IOException;
import java.util.List;

import com.guava.framework.Controller;

import pojo.nutz.Blogpage;

/**
 * IndexController
 */
public class Index extends Controller {
	public void index() throws IOException {
		// Blogpage bg=new Blogpage();
		 List<Blogpage> list=getDao().query(Blogpage.class,null);
		 setAttr("Lists", list);
		System.out.println(list.size());
		render("no");
	}
}
